<?php
/**
 * @revision      $Id: defines.php 7 2011-08-20 10:33:23Z agbiggora@gmail.com $   
 * @created       Apr 22, 2011
 * @category      MongoWeb
 * @package       AG CMS
 * @version       version
 * @copyright     Copyright Alexey Gordeyev IK (c) 2009-2011 - All rights reserved.
 * @license       GNU Lesser GPL
 * @author        Alexey Gordeyev IK <aleksej@gordejev.lv>
 * @link          http://www.gordejev.lv/
 * @link          http://www.agjoomla.com/
 * @link          http://code.google.com/p/ag-cms/
 */


$parts = explode(DS, PATH_BASE);

//Defines.
define('PATH_ROOT',			    implode(DS, $parts));
define('PATH_SITE',			    PATH_ROOT);
define('PATH_CONFIGURATION',	PATH_ROOT);
define('PATH_ADMINISTRATOR',	PATH_ROOT . 'admin');
define('PATH_CENSOR',	        PATH_ROOT . 'censor');
define('PATH_LIBRARIES',		PATH_ROOT . 'libraries');
define('PATH_PLUGINS',			PATH_ROOT . 'plugins'  );
define('PATH_MODULES',			PATH_ROOT . 'modules'  );
define('PATH_INSTALLATION',	    PATH_ROOT . 'installation');
define('PATH_THEMES',			PATH_BASE . 'templates');
define('PATH_CACHE',			PATH_BASE . 'cache');
define('PATH_MANIFESTS',		PATH_ADMINISTRATOR . 'manifests');

?>